package com.ihisun.tmhcms.core.dao.activitydao;

import com.ihisun.tmhcms.core.dto.activitydto.ActivityDto;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface ActivityDao extends JpaRepository<ActivityDto,Long> {
    public ActivityDto findByStateNot(Integer state);
    public Optional<ActivityDto> findById(Long id);
}
